package com.seguriapp.services;

import java.util.List;

import com.seguriapp.entities.MenuLink;
import com.seguriapp.entities.User;

/**
 * Security Service
 * 
 * @author Tania Gonzales (taniadgv@gmail.com)
 */
public interface SecurityService {

  User getUserInitialData(User user);

  List<MenuLink> getMenuLinkListByRole(String role);

  long getUsersTotalPages(int pageSize);

  List<User> listUsersOrderByColumn(int page, int pageSize, boolean ascending, String columnSort);

  String saveUserData(User user);

  List<Long> getUserEntities(Long userId);

  void saveUser(User user);
}
